.share-dialog .share-dialog-content {
  padding: 0;
  min-height: 27rem;
  display: flex;
  flex-direction: column;
}

.share-dialog-content .share-dialog-side {
  flex-basis: 18%;
  padding: 1rem;
  border-bottom: 1px solid var(--bs-border-secondary-color);
}

.share-dialog .nav .nav-item .nav-link {
  padding: 0.3125rem 0.25rem;
}

.share-link-details-item {
  width: 75%;
}

@media (min-width: 768px) {
  .share-dialog .share-dialog-content {
    flex-direction: row;
  }

  .share-dialog-content .share-dialog-side {
    border: 0;
    border-right: 1px solid var(--bs-border-secondary-color);
  }

  .share-dialog-side .nav {
    flex-direction: column;
  }

  .share-dialog-side .nav-pills .nav-item .nav-link {
    width: 100%;
    padding: 0.3125rem 0.5rem;
    margin: 0;
  }

  .share-link-details-item {
    width: 50%;
  }
}

.share-dialog-side .nav-pills .nav-item .nav-link.active {
  background-color: var(--bs-nav-active-bg);
  color: inherit;
  position: relative;
}

.share-dialog-side .nav-pills .nav-item .nav-link.active::before {
  content: '';
  display: block;
  width: 4px;
  background-color: #ff9800;
  border-radius: 2px;
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: -8px;
  z-index: 0;
}

.share-dialog-side .nav-pills .nav-item .nav-link:hover {
  background-color: var(--bs-nav-hover-bg);
}

.share-dialog-content .share-dialog-main {
  display: flex;
  flex-basis: 82%;
  padding: 1rem;
}

.share-dialog-content .share-dialog-main .tab-content {
  flex: 1;
}

.share-dialog-content .share-dialog-main .tab-pane {
  height: 100%;
}

.share-list-container {
  max-height: 20rem;
  min-height: 15rem;
  overflow: auto;
}

.share-list-container.share-link-list {
  max-height: 23rem;
  overflow: hidden;
}

#share-link-panel .table-real-container {
  height: 20rem;
  overflow: auto;
}

#share-link-panel .link-authenticated-op:hover {
  background: transparent;
  text-decoration: underline;
  color: #ff9800;
}

.share-dialog-content label {
  padding: 0.5rem 0 0.25rem;
}

.share-dialog-content label.form-check-label {
  padding: 0.25rem 0;
}

.link-operation-content {
  margin-left: 1.25rem;
}

.link-operation-icon {
  color: #9aa0ac;
}

.tip {
  color: #666;
  font-size: 13px;
  margin-bottom: 1rem;
}

.generate-share-link .passwd,
.generate-upload-link .passwd {
  width: 60%;
}

.generate-share-link .permission {
  margin-left: 2.5rem;
}

.generate-link-btn {
  margin-top: 1.125rem;
}

input.expire-input {
  display: inline-block;
  width: 4rem;
  height: 1.5rem;
  padding: 0.25rem 0.25rem;
  margin: 0 0.25rem 0 1.25rem;
}

.expire-input-border {
  border-bottom-right-radius: 0;
  border-top-right-radius: 0;
  height: 2.375rem!important;
  padding: 0.375rem 0.75rem!important;
}

.share-dialog-main .permission-editor .permission-editor__menu {
  width: 240px;
}

.expir-span {
  border: 1px solid rgba(0, 40, 100, 0.12);
  border-left: none;
  font-size: 0.9375rem;
  margin-left: -5px;
  padding: 0px 8px;
  height: 2.375rem;
  display: inline-block;
  text-align: center;
  position: absolute;
  top: 4px;
  min-width: 2.375rem;
  line-height: 2.25;
  border-bottom-right-radius: 3px;
  border-top-right-radius: 3px;
}

.custom-permission .permission-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .375rem 0;
  border-bottom: 1px solid var(--bs-border-secondary-color);
}

.custom-permission .permission-header .back-icon {
  color: #999;
  margin-right: 10px;
  cursor: pointer;
}

.custom-permission .permission-name-desc {
  margin-top: .375rem;
}

.custom-permission .permission-name-desc label {
  font-size: 14px;
  color: #666;
}

.custom-permission .permission-name-desc .permission-name,
.custom-permission .permission-name-desc .permission-desc {
  flex: 1;
}

.custom-permission .permission-name-desc .permission-desc {
  margin-left: .4rem;
}

.custom-permission .permissions-list-body {
  max-height: 350px;
  overflow-y: scroll;
}

.link-item-qrcode-popover .link-item-qrcode-tip {
  margin: 0;
  margin-top: 0.25rem;
  text-align: center;
  max-width: 128px;
  color: #666;
}
